Automattic\Jetpack\Google_Analytics\Universal A

Total Complexity 61
Dependencies 6
Dependents 1
Total lines 549
Lines of code 355
Logical lines of code 171
Comment lines 114
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
maybe_track_purchases()
A
40 13 59
maybe_track_hpos_purchases()
A
44 7 44
wp_head()
S
49 6 34
loop_add_to_cart()
S
53 5 26
listing_click()
S
49 4 33
checkout_process()
S
52 4 24
listing_impression()
S
53 4 23
send_pageview_in_footer()
S
63 4 12
add_to_cart()
S
55 3 23
remove_from_cart()
S
58 3 22
product_detail()
S
55 3 20
remove_from_cart_attributes()
S
59 2 14
__construct()
S
58 1 15
maybe_anonymize_ip()
S
71 2 6